// 使用 Mock
const Mock = require('mockjs')

const basePath = 'http://127.0.0.1:17777';

//只有 NODE_ENV，BASE_URL 和以 VUE_APP_ 开头的变量才能识别
if(process.env.NODE_ENV == 'development'){ 
  Mock.mock(basePath+'/person/savePerson','get',{"status":200,"msg":'成功'})
  Mock.mock(basePath+'/person/getPersonList','get',{"status":200,"msg":"成功","data":{"total":1,"rows":[{"id":"123456","name":"你好","password":"111111","status":1}]}})
}
